<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="recent-deals">
<!--{if option_yes('cateteam')}-->
	<div class="dashboard" id="dashboard">
		<ul>${current_teamcategory($group_id)}</ul>
	</div>
<!--{/if}-->
    <div id="content">
        <div class="box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>{$category['name']}{$pagetitle}: {$city['name']}</h2></div>
				<div class="sect">
					<ul class="deals-list">
					<!--{loop $teams $index $one}-->
						<li class="${$index++%2?'alt':''} ${$index<=2?'first':''}">
					    <p class="time"><strong>${date('d-m-Y', $one['begin_time'])}</strong></p>
                        <h4><a href="/{$city['ename']}/oferta/{$one['id']}" title="{$one['title']}" target="_self">${mb_strimwidth($one['title'],0,186,'...')}</a></h4>
							<div class="pic">
								<div class="{$one['picclass']}"></div>
                                <a href="/{$city['ename']}/oferta/{$one['id']}" title="{$one['title']}" target="_self"><img alt="{$one['title']}" src="${team_image($one['image'], true)}" width="200" height="121"></a>
							</div>
						  <div class="info">
							<p class="total"><strong class="count">{$one['now_number']}</strong> vendidos</p>
							  <p class="price">De: <strong class="old"><span class="money">{$currency}</span>${moneyit3($one['market_price'])}</strong><br />
								Por: <strong><span class="money">{$currency}</span>${moneyit3($one['team_price'])}</strong><br />
								Desconto: <strong><span class="money"> ${moneyit2((100*($one['market_price'] - $one['team_price'])/$one['market_price']))}%</strong><br />
							</div>
							<!--{if option_yes('moneysave')}--><div id="info_a">Um total economizado:<strong class="count">{$currency}${moneyit3($one['now_number']*($one['market_price']-$one['team_price']))}</strong></div><!--{/if}-->
						</li>
					<!--{/loop}-->
					</ul>
					<div class="clear"></div>
					<div>{$pagestring}</div>
				</div>
            </div>

            <div class="box-bottom"></div>
        </div>
    </div>
	<div id="sidebar">
	<!--{include block_side_subscribe}-->
    </div>
</div>
    </div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
